LotusScript Doc

Class: LSAAddrOrganizationData

Reference to all OrganizationData in LSA-Organization

Version:
1.2.0, 16.MAR.2000



Property Summary
Public Property Set Abbreviation As String
Public Property Get Abbreviation As String
Public Property Get Company As String
Public Property Set Delimiter As String
Public Property Get Delimiter As String
Public Property Get Department As String
Public Property Set IndustrySector As String
Public Property Get IndustrySector As String
Public Property Set NotAllowedChars As Variant
Public Property Get NotAllowedChars As Variant
Public Property Set Organization As String
Public Property Get Organization As String
Public Property Set Synonym As String
Public Property Get Synonym As String

Method Summary
Sub Delete ()
Sub fillFromDoc (doc As NotesDocument)
Function getOrganizationData () As String
Sub New (newOrganization As String, newAbbreviation As String, newSynonym As String, newSector As String)
Function saveToPredefinedFields (doc As NotesDocument) As Integer
Sub validate ()

Property Detail

Public Property Set Organization AsString

Sets the full hierarchical name of an organization unit.

Summmary Top

Public Property Get Organization AsString

Summmary Top

Public Property Get Company AsString

Summmary Top

Public Property Get Department AsString

Summmary Top

Public Property Set IndustrySector AsString

Sets the industry sector in which the organization unit operates

Summmary Top

Public Property Get IndustrySector AsString

Summmary Top

Public Property Set Abbreviation AsString

Sets a abbreviation for the organization unit

Summmary Top

Public Property Get Abbreviation AsString

Summmary Top

Public Property Set Synonym AsString

Sets synonym for the organization unit's name

Summmary Top

Public Property Get Synonym AsString

Summmary Top

Public Property Set Delimiter AsString

When the object is imploded to a serial data string this character is used as seperator. If the programmer doesn't set a delimiter a default value will be delivered by the class.

Summmary Top

Public Property Get Delimiter AsString

Summmary Top

Public Property Set NotAllowedChars AsVariant

These characters are not allowed to be use in the key property

Summmary Top

Public Property Get NotAllowedChars AsVariant

Summmary Top
Method Detail

New

Public Sub New(newOrganization As String,newAbbreviation As String,newSynonym As String,newSector As String)
Instantiates a new object.

Parameters:
OrganizationStringfull hierarchical name of the organization; e.g. ACME\Consulting\NEW York
AbbreviationStringAbrreviation of the organization ACN
SynonymStringSynonym of the organization Consulting NY
IndustrySectorStringConsulting Serviced
Summmary Top

Delete

Public Sub Delete
Destructs object.

Summmary Top

getOrganizationData

Public Function getOrganizationData As String
Returns a serial data string of the form: ##LotusO#Organization#Company#Department#Abbreviation#Synonym#IndustrySector

Returns:
Stringserial data string as described above
Summmary Top

fillFromDoc

Public Sub fillFromDoc(doc As NotesDocument)
Given a NotesDocument, fills all attributes of the class by reading fields of the document. The fields in the document have to correspond to the fields of the form LSAContact in the template LSA-Address. The old values are set the values read from the document.

Returns:
docNotesDocument the document which containes the corresponding values
Summmary Top

saveToPredefinedFields

Public Function saveToPredefinedFields(doc As NotesDocument) As Integer
Saves the object to fields in the NotesDocument which is passed in as parameter. The fieldnames which are used correspond to the field names in the form LSAOrganization in the template LSB-Address.

Summmary Top

validate

Public Sub validate
Validates the object by checking if the attribute Organization of the object is empty.

Summmary Top

TopLotusScript Doc
© Lotus Professional Services
generated on : 05-Apr-01 8:45:33 AM